github.com/andybalholm/brotli/matchfinder.M4.score (method)
9 uses
github.com/andybalholm/brotli/matchfinder (current package)
m4.go#L59: func (q *M4) score(m absoluteMatch) int {
m4.go#L119: if matches[1].End-matches[1].Start >= q.MinLength && q.score(matches[1]) > 0 {
m4.go#L160: if m.End-m.Start > q.MinLength && q.score(m) > 0 {
m4.go#L176: if m.End-m.Start > q.MinLength && q.score(m) > q.score(currentMatch) {
m4.go#L196: if q.score(currentMatch) <= q.score(matches[0])+overlapPenalty {
m4.go#L254: if matches[2].End-matches[2].Start >= q.MinLength && q.score(matches[2]) > 0 {
m4.go#L266: if matches[1].End-matches[1].Start >= q.MinLength && q.score(matches[1]) > 0 {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |